<?php
namespace app\crontab\command;

use app\share\model\PingRecord;
use think\console\Command;
use think\console\Input;
use think\console\Output;

class PingMonth extends Command {
    protected function configure()
    {
        $this->setName('PingMonth')
            ->setDescription('ip通断上月数据下载到本地服务器 每月1号1点执行');
    }

    protected function execute(Input $input, Output $output)
    {
        $model = new PingRecord();
        $model->downMore();
    }
}
